﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserManagerRole.aspx.cs" Inherits="GovernmentOfficeProject.LevelViewUI.admin.UserManagerRole" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>选择用户组</title>
    <script language="javascript">
        function refreshOpenerValues() {
            if (window.opener && !window.opener.closed) {
                window.opener.toLoadDetail();
            }
        }
    </script>
        <style type="text/css">
        html,body{padding:0; margin:0; background-color:#ffffff; font-size:12px;}
    </style>    
    <style type="text/css">
        #form1
        {
            width: 271px;
            height: 333px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
                    <div style=" text-align:center; padding-right:5px; width: 263px; height: 17px;">
                        <asp:Label ID="lblOperationMessage" runat="server" Font-Bold="True" 
                            Font-Size="Small" ForeColor="#FF3300"></asp:Label>
                    &nbsp;
                    </div>
                
			
    <asp:GridView ID="GridViewRole" runat="server" AutoGenerateColumns="False" 
                        CellPadding="1" CellSpacing="1" 
                        Font-Size="Small" ForeColor="#333333" GridLines="None" PageSize="6" 
                        style="margin-bottom: 0px" Width="281px" 
        DataKeyNames="RoleID" Height="100%">
        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
        <Columns>
            <asp:BoundField DataField="RoleID" HeaderText="No." 
                                SortExpression="RoleID" >
            <HeaderStyle Width="50px" />
            </asp:BoundField>
            <asp:BoundField DataField="RoleName" HeaderText="用 户 组" 
                                SortExpression="RoleName"></asp:BoundField>
            <asp:TemplateField HeaderText="选择" ShowHeader="False" SortExpression="Selected">
                <ItemTemplate>
                    <asp:CheckBox ID="ckbRoleSelect" runat="server" 
                                        Checked='<%# Eval("Selected") %>' AutoPostBack="True" 
                        oncheckedchanged="ckbRoleSelect_CheckedChanged" 
                        onClick="refreshOpenerValues();"/>
                </ItemTemplate>
                <ItemStyle HorizontalAlign="Center" Width="33px" />
            </asp:TemplateField>
        </Columns>
        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#999999" />
        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
    </asp:GridView>
                
			
    <br />
	
	
    </form>
</body>
</html>
